package com.fangfaze.java.hcwork.liveLifeCycle.service;

import com.fangfaze.java.hcwork.liveLifeCycle.entity.NetworkResult;
import com.fangfaze.java.hcwork.liveLifeCycle.entity.LiveUrls;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(value = "geturl", url = "http://127.0.0.1:8191")
public interface FeignService {

    @GetMapping(path = "/stream")
    NetworkResult<List<LiveUrls>> getDatas();
}
